gpg-verify-result: try to display the primary key ID from signatures
authorRobert McQueen <rob@endlessm.com>
Sun, 30 Jul 2017 16:44:35 +0000 (17:44 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 31 Jul 2017 14:37:09 +0000 (14:37 +0000)
commite8a9172daad5f27ba5805fd4e4abba1b419dffc0
treeb7f9db6fa86424cafc49c10d447b99c8210b0a7b
parent156cf23576df15cfd06d8138f7fc4443bfee5058
gpg-verify-result: try to display the primary key ID from signatures

The fingerprint associated with each signature can be different to
the primary key ID (the normal one that people use to identify a
GPG key) if the signature is from a signing subkey. Try to find the
primary key and print this ID in preference to the subkey signature.

https://github.com/ostreedev/ostree/issues/608

Closes: #1036
Approved by: cgwalters
src/libostree/ostree-gpg-verify-result.c